package com.haoze.nurseapp.dao;

import com.haoze.common.mapper.MyMapper;
import com.haoze.nurseapp.model.UserEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface UserMapper extends MyMapper<UserEntity> {

    UserEntity queryOneUser(@Param("account") String account);

    Map<String, Object> queryUserInfo(@Param("account") String account);

    int updateClinetIdByAccount(@Param("account") String account, @Param("clientId") String clientId);

    int updateClinetIdByClinetId(@Param("clientId") String clientId);

    String queryEmpNoById(@Param("userId") String userId, @Param("type") String type);

    UserEntity queryUserId(@Param("userId") String userId);
}
